package com.rbug.obj.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.kawins.mina.net.HttpRequestMessage;
import com.kawins.mina.net.HttpResponseMessage;
import com.kawins.mina.service.ControllerAdapter;

@Controller
public class TestController extends ControllerAdapter {

	@Override
	public Logger getLog() {
		return LoggerFactory.getLogger(this.getClass());
	}

	@RequestMapping("/test")
	public void test(HttpRequestMessage request, HttpResponseMessage response) {
		System.out.println("Hello Mina!");
	}

}
